package com.caineng.zhaobiao.zbapi;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

//Failed to determine a suitable driver class 的处理方法 加入exclude= {DataSourceAutoConfiguration.class}
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableMethodCache(basePackages = "com.caineng.zhaobiao.zbapi")
public class ZbApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZbApiApplication.class, args);
    }

}
